package com.byron.pss.domain;

public class Message {

	/**
	 * id值
	 */
	private Long id;
	
	/**
	 * 留言人姓名
	 */
	private String name;
	
	/**
	 * 邮箱地址
	 */
	private String email;
	
	/**
	 * 电话号码
	 */
	private String phone;
	
	/**
	 * 丢失的物品名称
	 */
	private String lostName;
	
	/**
	 * 其它信息
	 */
	private String other;

	public Message(Long id, String name, String email, String phone,
			String lostName, String other) {
		super();
		this.id = id;
		this.name = name;
		this.email = email;
		this.phone = phone;
		this.lostName = lostName;
		this.other = other;
	}

	public Message() {
		super();
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getEmail() {
		return email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getLostName() {
		return lostName;
	}

	public void setLostName(String lostName) {
		this.lostName = lostName;
	}

	public String getOther() {
		return other;
	}

	public void setOther(String other) {
		this.other = other;
	}

	@Override
	public String toString() {
		return "Message [id=" + id + ", name=" + name + ", email=" + email
				+ ", phone=" + phone + ", lostName=" + lostName + ", other="
				+ other + "]";
	}
}
